package pack1;

public class User {

	private int id;
	private int lgid;
	private String email;
	private String password;
	private String fname;
	private String lname;
	private String contactno;
	private String gender;
	private String dob;
	private String bgroup;
	private String address;

	public User() {
	}

	public User(int id, int lgid, String email, String password, String fname,
			String lname, String contactno, String gender, String dob,
			String bgroup, String address) {
		this.id = id;
		this.lgid = lgid;
		this.email = email;
		this.password = password;
		this.fname = fname;
		this.lname = lname;
		this.contactno = contactno;
		this.gender = gender;
		this.dob = dob;
		this.bgroup = bgroup;
		this.address = address;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getLgid() {
		return lgid;
	}

	public void setLgid(int lgid) {
		this.lgid = lgid;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getFname() {
		return fname;
	}

	public void setFname(String fname) {
		this.fname = fname;
	}

	public String getLname() {
		return lname;
	}

	public void setLname(String lname) {
		this.lname = lname;
	}

	public String getContactno() {
		return contactno;
	}

	public void setContactno(String contactno) {
		this.contactno = contactno;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getDob() {
		return dob;
	}

	public void setDob(String dob) {
		this.dob = dob;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getBgroup() {
		return bgroup;
	}

	public void setBgroup(String bgroup) {
		this.bgroup = bgroup;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", lgid=" + lgid + ", email=" + email
				+ ", password=" + password + ", fname=" + fname + ", lname="
				+ lname + ", contactno=" + contactno + ", gender=" + gender
				+ ", dob=" + dob + ", bgroup=" + bgroup + ", address="
				+ address + "]";
	}

}
